package com.aiti.lulian.dto;

import cn.hutool.core.date.DateTime;
import com.aiti.base.core.base.dto.PageDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

@Data
public class CommunicateInfoDto extends PageDto {

    /** 当前用户的角色ID */
    private String roleIds;

    private String userId;

    private String dateFilterType;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    //成交可能性
    private String transactionProgress;

    //客户类型
    private String communicateType;

    //商机来源
    private String communicateSource;

    private boolean enterpriseAdmin;

    private boolean systemAdmin;


    private String companyId;

    private String baseName;

    private String customerId;

    private String communicateStatus;

    private String confirmStatus;

    private String deptId;

    private String deptPermission;

    private String directorName;

    private String filterDeptId;
    private List<String> filterDeptIdList;
    private String filterDirectorId;
    private boolean pcFlag;
    private List<String> deptList;

    private boolean directorFlag;
    private boolean collaboratorFlag;

    private List<String> idList;

    private String attachment;

    @ApiModelProperty("商机来源.默认值0：原来的数据，1：询价单，2：招募单，3：招标信息")
    private Integer communicateFrom;

    //跟进阶段(1:电话预约;2:客户回访；3:已送样品;4:商务谈判中;5:已签单)
    @ApiModelProperty("跟进阶段(1:电话预约;2:客户回访；3:已送样品;4:商务谈判中;5:已签单)")
    private String followUpStage;

}
